package com.koron.css2;

import com.koron.css2.serviceManage.bean.RequestBean;
import com.koron.css2.serviceManage.bean.UserInfoBean;
import org.koron.ebs.mybatis.SessionFactory;
import org.springframework.http.HttpEntity;
import org.springframework.web.multipart.MultipartFile;
import org.swan.bean.MessageBean;

import java.util.List;

public interface AccessoryInterface {
	
	/**
	 * 附件上传
	 * @param factory
	 * @param userInfo
	 * @param req
	 * @param files
	 * @return
	 */ 
	MessageBean<?> upload(SessionFactory factory, UserInfoBean userInfo, RequestBean req, List<MultipartFile> files);
	
	/**
	 * 附件下载
	 * @param factory
	 * @param userInfo
	 * @param req
	 * @return
	 */
	HttpEntity<?> down(SessionFactory factory, UserInfoBean userInfo, RequestBean req);
	

}
